﻿@{
    ViewBag.Title = "管理";
}
<script type="text/javascript">
    $('#myTab a').click(function (e) {
        e.preventDefault()
        $(this).tab('show')
    })
    
</script>

<div class="container">
    <!-- Nav tabs -->
    <ul class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active">
            <a href="#User" role="tab" data-toggle="tab">用户管理</a>

        </li>
        <li role="presentation"><a href="#profile" role="tab" data-toggle="tab">经营管理</a></li>
        @*<li role="presentation">@Html.ActionLink("商品管理", "AdminGoods",new{id=1}, new { area="Admin",Controller="Admin"})</li>*@
        <li role="presentation"><a href="#AdminGood" role="tab" data-toggle="tab" id="GoodsList">商品管理</a></li>
        <li role="presentation"><a href="#settings" role="tab" data-toggle="tab"></a></li>
    </ul>

    <!-- Tab panes -->
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="User">
            <!--用户管理-->

            <div class="container">
                <div class="row">
                    <div class="col-md-2">
                        <ul class="list-group">
                            <li class="list-group-item list-group-item-success"><a href="#" class="active list-group-item" id="UserList">用户列表</a>
                            </li>
                            <li class="list-group-item list-group-item-info"><a href="" class="list-group-item" data-toggle="modal" data-target="#myModal">添加用户</a></li>

                        </ul>
                        
                    </div>
                    <div class="col-md-10">
                        <div id="Pannel_Userlist">
                            @Html.Action("AdminUserList", "Admin")
                        </div>
                       
                    </div>
                </div>
            </div>
            @Html.Partial("AdminUserAdd")


            <!--用户管理-->
        </div>
        <div role="tabpanel" class="tab-pane" id="profile">@Html.Partial("ManageMaster")</div>
        <div role="tabpanel" class="tab-pane" id="AdminGood">@Html.Partial("AdminGood")</div>
        <div role="tabpanel" class="tab-pane" id="settings">Settings</div>
    </div>


</div>

